package cn.exam;

public class User {
    private static User user;

    private User() {

    }

    public static User get() {
        if (user == null) {
            user = new User();
        }
        return user;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
